
#include <string.h>
#include <stdint.h>

void Buffer_Reset(Buffer_T* buf){
	buf->length = 0;
}

void Buffer_Put(Buffer_T* buf, uint8_t in[], uint16_t len){
	memcpy(buf->data, in, len);
}

void Buffer_Get(Buffer_T* buf, uint16_t offset, uint8_t out[], uint16_t len){
	memcpy(out, buf->data + offset, len);
}

